#include "basemodel.h"

BaseModel::BaseModel()
{
    this->rowID = -999;
}

int BaseModel::getID()
{
    if (!this) {
        qDebug() << "BaseModel::getID: this! IS! SPARTA!";
        qDebug() << "BaseModel::getID: Seriously though, the 'this' special variable is NULL, go fix that bug";
    }
    return this->rowID;
}

void BaseModel::setID(int id)
{
    this->rowID = id;
}
